﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012C9 RID: 4809
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncAddBlacklistScNotify : IMessage<SyncAddBlacklistScNotify>, IMessage, IEquatable<SyncAddBlacklistScNotify>, IDeepCloneable<SyncAddBlacklistScNotify>, IBufferMessage
	{
		// Token: 0x17003CD0 RID: 15568
		// (get) Token: 0x0600D77D RID: 55165 RVA: 0x0024265C File Offset: 0x0024085C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncAddBlacklistScNotify> Parser
		{
			get
			{
				return SyncAddBlacklistScNotify._parser;
			}
		}

		// Token: 0x17003CD1 RID: 15569
		// (get) Token: 0x0600D77E RID: 55166 RVA: 0x00242663 File Offset: 0x00240863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncAddBlacklistScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CD2 RID: 15570
		// (get) Token: 0x0600D77F RID: 55167 RVA: 0x00242675 File Offset: 0x00240875
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncAddBlacklistScNotify.Descriptor;
			}
		}

		// Token: 0x0600D780 RID: 55168 RVA: 0x0024267C File Offset: 0x0024087C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncAddBlacklistScNotify()
		{
		}

		// Token: 0x0600D781 RID: 55169 RVA: 0x00242684 File Offset: 0x00240884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncAddBlacklistScNotify(SyncAddBlacklistScNotify other) : this()
		{
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D782 RID: 55170 RVA: 0x002426A9 File Offset: 0x002408A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncAddBlacklistScNotify Clone()
		{
			return new SyncAddBlacklistScNotify(this);
		}

		// Token: 0x17003CD3 RID: 15571
		// (get) Token: 0x0600D783 RID: 55171 RVA: 0x002426B1 File Offset: 0x002408B1
		// (set) Token: 0x0600D784 RID: 55172 RVA: 0x002426B9 File Offset: 0x002408B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x0600D785 RID: 55173 RVA: 0x002426C2 File Offset: 0x002408C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncAddBlacklistScNotify);
		}

		// Token: 0x0600D786 RID: 55174 RVA: 0x002426D0 File Offset: 0x002408D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncAddBlacklistScNotify other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D787 RID: 55175 RVA: 0x00242700 File Offset: 0x00240900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D788 RID: 55176 RVA: 0x0024273F File Offset: 0x0024093F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D789 RID: 55177 RVA: 0x00242747 File Offset: 0x00240947
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D78A RID: 55178 RVA: 0x00242750 File Offset: 0x00240950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D78B RID: 55179 RVA: 0x00242784 File Offset: 0x00240984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D78C RID: 55180 RVA: 0x002427C2 File Offset: 0x002409C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncAddBlacklistScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D78D RID: 55181 RVA: 0x002427F3 File Offset: 0x002409F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D78E RID: 55182 RVA: 0x002427FC File Offset: 0x002409FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040055EA RID: 21994
		private static readonly MessageParser<SyncAddBlacklistScNotify> _parser = new MessageParser<SyncAddBlacklistScNotify>(() => new SyncAddBlacklistScNotify());

		// Token: 0x040055EB RID: 21995
		private UnknownFieldSet _unknownFields;

		// Token: 0x040055EC RID: 21996
		public const int UidFieldNumber = 7;

		// Token: 0x040055ED RID: 21997
		private uint uid_;
	}
}
